package com.aaa.service;

import com.aaa.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService {

    /**
     * 增加用
     * @return
     */
    boolean addUser(User user, double amount);

    List<Map<String, Object>> getDataByNearYear();

}
